<hr/>
<div class="row-fluid">
    <div class="span12">
        <a id="btn_info" href="${request.contextPath}/member/memberInfo?memberId=${memberId}" class="btn btn-info">会员信息</a>
        <a id="btn_order" href="${request.contextPath}/member/order/list?memberId=${memberId}" class="btn btn-info">历史订单</a>
        <a id="btn_back" href="${request.contextPath}/member/memberList" class="btn btn-info">返回列表</a>
        <div class="widget-box">
            <div class="widget-title"> <span class="icon"> <i class="icon-pencil"></i> </span>
                <h5>会员信息</h5>
            </div>
            <div class="widget-content nopadding">
                <table class="table table-bordered table-striped data-table">
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>积分值</th>
                        <th>描述</th>
                        <th>记录时间</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <#list pointList as point>
                        <tr id="tr_${point.memberPointId}">
                            <td>${point_index + 1}</td>
                            <td>${point.point}</td>
                            <td>${point.description}</td>
                            <td>${point.createTime}</td>
                            <td>
                                <a class="btn_delete" href="#" data-key="${member.memberId}"><i class="icon icon-remove"></i></a>
                            </td>
                        </tr>
                    </#list>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<script src="${request.contextPath}/js/jquery-1.12.2.min.js"></script>
<script src="${request.contextPath}/js/jquery.validate.js"></script>
<script src="${request.contextPath}/js/sweetalert.min.js"></script>
<script type="text/javascript">
    $(function(){

        $("#btn_save").click(function(){
            $("#member_form").submit();
        });

        $("#btn_back").click(function(){
            loadPage($(this).attr("href"));
            return false;
        });

        $("#btn_info").click(function(){
            loadPage($(this).attr("href"));
            return false;
        });

        $("#btn_order").click(function(){
            loadPage($(this).attr("href"));
            return false;
        });
    });
</script>